package com.tbs.easyhomemoneyserver.model.dto

import com.tbs.easyhomemoneyserver.constants.CommonConstants
import java.io.Serializable

data class HomeMemberChangePreCheckDTO(
    var isParent: Int? = null,
    var hasPerson: Int? = null,

    var hasGroup: Int? = null
) : Serializable {
    val isPass: Boolean
        get() = !((CommonConstants.DISABLE == isParent) || CommonConstants.DISABLE == (hasGroup) || CommonConstants.DISABLE == (hasPerson))

    companion object {
        private val serialVersionUID = 5408211835763900052L
    }
}
